home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / python-serial.preinst < prev    next >
Text File  |  2008-06-25  |  741b  |  26 lines

  1. #!/bin/sh
  2. set -e
  3. # Automatically added by dh_pycentral
  4. if which pycentral >/dev/null 2>&1 && pycentral --help 2>/dev/null | grep -q '^ *version'; then
  5.     pycentral pkgprepare python-serial <<PYEOF
  6. [python-package]
  7. format = 1
  8. python-version = all
  9. [pycentral]
  10. version = 0.6.7
  11. [files]
  12. /usr/share/pyshared/serial=d
  13. /usr/share/pyshared/serial/serialposix.py=f
  14. /usr/share/pyshared/serial/serialwin32.py=f
  15. /usr/share/pyshared/serial/sermsdos.py=f
  16. /usr/share/pyshared/serial/serialutil.py=f
  17. /usr/share/pyshared/serial/serialjava.py=f
  18. /usr/share/pyshared/serial/__init__.py=f
  19. /usr/share/pyshared/pyserial-2.3.egg-info=f
  20. PYEOF
  21. else
  22.     mkdir -p /var/lib/pycentral
  23.     echo python-serial >> /var/lib/pycentral/delayed-pkgs
  24. fi
  25. # End automatically added section
  26.